OPC Studio User's Guide and Reference
DAItemChangedPayload<TValue> Constructor(EasyDAItemChangedEventArgs<TValue>,DAVtqPayload<TValue>)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.ComplexEventProcessing Namespace > DAItemChangedPayload<TValue> Class > DAItemChangedPayload<TValue> Constructor : DAItemChangedPayload<TValue> Constructor(EasyDAItemChangedEventArgs<TValue>,DAVtqPayload<TValue>)
Event data.
VTQ payload to be used when the event arguments contain no VTQ.
Initializes a new event payload from event arguments for significant change in a subscribed OPC-DA item.
Syntax
'Declaration
 
Public Function New( _
   ByVal eventArgs As EasyDAItemChangedEventArgs(Of TValue), _
   ByVal defaultVtqPayload As DAVtqPayload(Of TValue) _
)
'Usage
 
Dim eventArgs As EasyDAItemChangedEventArgs(Of TValue)
Dim defaultVtqPayload As DAVtqPayload(Of TValue)
 
Dim instance As New DAItemChangedPayload(Of TValue)(eventArgs, defaultVtqPayload)

Parameters

eventArgs
Event data.
defaultVtqPayload
VTQ payload to be used when the event arguments contain no VTQ.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also